package com.example.client_anna.util.entity;

/**
 * @author cy
 * @email 272884043@qq.com
 * @date 2021/11/8
 */
public class OrderInfo {
    private String order_id;//订单id
    private String bid;//商家id
    private String uid;//用户id
    private String address_id;//配送地址
    private String create_date;//订单生成时间
    private String dis_date;//配送时间
    private Float distribution;//配送费
    private Float full;//满减
    private Float total;//订单总价
    private String pay_mode;//支付方式
    private Float pay_total;//最后支付价格
    private String remarks;//备注
    private Integer status;//状态

    public OrderInfo(){}

    public OrderInfo(String order_id,String bid,String uid,String address_id,String create_date,String dis_date,
                     Float distribution,Float full,Float total,String pay_mode,Float pay_total,String remarks,
                     Integer status){
        this.order_id = order_id;
        this.bid = bid;
        this.uid = uid;
        this.address_id = address_id;
        this.create_date =create_date;
        this.distribution = distribution;
        this.dis_date = dis_date;
        this.full = full;
        this.total = total;
        this.pay_total = pay_total;
        this.pay_mode = pay_mode;
        this.remarks = remarks;
        this.status = status;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public String getBid() {
        return bid;
    }

    public void setBid(String bid) {
        this.bid = bid;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getAddress_id() {
        return address_id;
    }

    public void setAddress_id(String address_id) {
        this.address_id = address_id;
    }

    public String getCreate_date() {
        return create_date;
    }

    public void setCreate_date(String create_date) {
        this.create_date = create_date;
    }

    public String getDis_date() {
        return dis_date;
    }

    public void setDis_date(String dis_date) {
        this.dis_date = dis_date;
    }

    public Float getDistribution() {
        return distribution;
    }

    public void setDistribution(Float distribution) {
        this.distribution = distribution;
    }

    public Float getFull() {
        return full;
    }

    public void setFull(Float full) {
        this.full = full;
    }

    public Float getTotal() {
        return total;
    }

    public void setTotal(Float total) {
        this.total = total;
    }

    public String getPay_mode() {
        return pay_mode;
    }

    public void setPay_mode(String pay_mode) {
        this.pay_mode = pay_mode;
    }

    public Float getPay_total() {
        return pay_total;
    }

    public void setPay_total(Float pay_total) {
        this.pay_total = pay_total;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "OrderInfo{" +
                "order_id='" + order_id + '\'' +
                ", bid='" + bid + '\'' +
                ", uid='" + uid + '\'' +
                ", address_id='" + address_id + '\'' +
                ", create_date='" + create_date + '\'' +
                ", dis_date='" + dis_date + '\'' +
                ", distribution=" + distribution +
                ", full=" + full +
                ", total=" + total +
                ", pay_mode='" + pay_mode + '\'' +
                ", pay_total=" + pay_total +
                ", remarks='" + remarks + '\'' +
                ", status=" + status +
                '}';
    }
}
